//
//  PTNavigationBar.h
//  platformDemo
//
//  Created by Owen on 2020/6/9.
//  Copyright © 2020 Owen. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol NavigationBarProtocol <NSObject>

@optional

- (void) didSelectedLeftBarItem;
- (void) didSelectedRightBarItem;
- (void) scrollViewScrollToTop;


@end

@interface PTNavigationBar : UIView

@property (nonatomic,strong) UIView *bgView;
/**标题内容*/
@property (nonatomic,copy) NSString *titleContent;
/**标题颜色*/
@property (nonatomic,strong) UIColor *titleColor;

@property (nonatomic, strong) UILabel *titleLabel;

@property (nonatomic,weak) id<NavigationBarProtocol>delegate;

- (void) setLeftBarItem;

- (void)setRightBarItem;

@end

NS_ASSUME_NONNULL_END
